const p1 = new Promise((resolve) => {
    setTimeout(() => {
      resolve('resolve3');
      console.log('timer1')
    }, 0)
    resolve('resovle1');
    resolve('resolve2');
  }).then(res => {
    console.log(res)
    setTimeout(() => {
      console.log(p1)
    }, 1000)
  }).finally(res => {
    console.log('finally', res)
  })
  